<template>
  <div class="music-home-wrap">
    <div class="music-home-bar">
      <router-link
        to="/musichomebar/musichome"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >首页</router-link
      >
      <router-link
        to="/musichomebar/singer"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >歌手</router-link
      >
      <router-link
        to="/musichomebar/newcd"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >新碟</router-link
      >
      <router-link
        to="/musichomebar/rank"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >排行榜</router-link
      >
      <router-link
        to="/musichomebar/songcategorylist"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >分类歌单</router-link
      >
      <router-link
        to="/musichomebar/radio"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >电台</router-link
      >
      <router-link
        to="/musichomebar/mv"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >MV</router-link
      >
      <router-link
        to="/musichomebar/digitalalbum"
        class="music-home-bar-item"
        active-class="music-home-bar-item-active"
        >数字专辑</router-link
      >
    </div>
  </div>
  <div>
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
export default {
  name: "MusicHomeBar",
};
</script>

<script lang="ts" setup></script>

<style scoped>
.music-home-wrap {
  margin: 0 auto;
  width: 1200px;
  /* padding: 0 100px; */
}
.music-home-bar {
  display: flex;
  height: 52px;
  border-top: 1px #f2f2f2 solid;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}
.music-home-bar-item {
  margin-right: 50px;
  color: black;
}
.music-home-bar-item-active {
  color: #31c27c;
}
.nav-active {
  color: #31c27c;
}
</style>
